<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/file" prefix="f"%>
<form id="fuwuZhanForm">
	<s:hidden name="model.id" id="modelId"></s:hidden>
	<s:hidden name="model.crateDate"></s:hidden><s:hidden name="model.updateDate"></s:hidden>
	<s:hidden name="model.mac"></s:hidden>
	<table width="100%" border="0" id="FuwuZhanTable" cellpadding="0" cellspacing="0" class='edit_table'>
		<tbody>
			<tr>
				<th>
					服务站名称
				</th>
				<td>
					<input type="text" name='model.name' value='${model.name}' maxlength="150"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					登录用户名
				</th>
				<td>
					<input type="text" name='model.loginName' value='${model.loginName}' maxlength="150"	class="k-textbox"  <s:if test='null!=model.id'> editable='false'  readonly="readonly"</s:if> />
				</td>
			</tr>
			<tr>
				<th>
					联系人
				</th>
				<td>
					<input type="text" name='model.lxr' value='${model.lxr}' maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					联系地址
				</th>
				<td>
					<input type="text" name='model.address' value='${model.address}' maxlength="150"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					联系电话
				</th>
				<td>
					<input type="text" name='model.lxrTel' value='${model.lxrTel}' maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					所在区域:
				</th>
				<td>
				<s:select list="provinceList" listKey="name"  listValue="name" cssStyle="width:120px;"  cssClass="select" headerKey="" headerValue="选择省" onchange="getShi(this,'shiId','quId')" name="model.province"></s:select>

					<s:if test="model.city!=null">
						<s:select list="cityList" listKey="name" listValue="name" cssStyle="width:120px;"  cssClass="select" headerKey="" headerValue="选择市" id='shiId'    onchange='getQu(this,"quId")' name='model.city'></s:select>
					</s:if>
					<s:else>
						<select id='shiId'  onchange='getQu(this,"quId")' name='model.city' style="width:120px;"    class="select" ><option value=''>选择市</option></select>
					</s:else>
					<s:if test="model.town!=null">
						<s:select list="areaList" listKey="name" listValue="name"	headerKey="" cssStyle="width:120px;"   headerValue="选择区" id="quId"	cssClass='select form-control' name="model.town"></s:select>	
					</s:if>
					<s:else>
						<select id='quId'  name='model.town' style="width:120px;"  class="select"><option value=''>选择区</option></select>
					</s:else>
				</td>
			</tr>
			
			<tr>
				<th>
					可跨区域:
					<input  type="hidden" name="areas" id="areas"><input  type="hidden" name="codes" id="codes">
				</th>
				<td>
				<div>
				   <ul id="tree" class="ztree" style="width:260px; overflow:auto;" ></ul>
				</div>
				</td>
			</tr>
			<tr>
				<th>
					备注
				</th>
				<td>
					<s:textarea name="model.detailInfo"   rows="3"  cssStyle="width:99%"></s:textarea>
				</td>
			</tr>
		</tbody>
	</table>
</form>